home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / editors / emcs1857 / 1857el~1.zoo / lisp / loaddefs.elc < prev    next >
Encoding:
Text File  |  1992-02-04  |  68.7 KB  |  1,613 lines

  1.  
  2. (setq debugger (quote debug))
  3.  
  4. (defconst mode-line-buffer-identification (purecopy (quote ("Emacs: %17b"))) "\
  5. Mode-line control for identifying the buffer being displayed.
  6. Its default value is \"Emacs: %17b\".  Major modes that edit things
  7. other than ordinary files may change this (e.g. Info, Dired,...)")
  8.  
  9. (make-variable-buffer-local (quote mode-line-buffer-identification))
  10.  
  11. (defconst mode-line-process nil "\
  12. Mode-line control for displaying info on process status.
  13. Normally nil in most modes, since there is no process to display.")
  14.  
  15. (make-variable-buffer-local (quote mode-line-process))
  16.  
  17. (defconst mode-line-modified (purecopy (quote ("--%1*%1*-"))) "\
  18. Mode-line control for displaying whether current buffer is modified.")
  19.  
  20. (make-variable-buffer-local (quote mode-line-modified))
  21.  
  22. (setq-default mode-line-format (list (purecopy "") (quote mode-line-modified) (quote mode-line-buffer-identification) (purecopy "   ") (quote global-mode-string) (purecopy "   %[(") (quote mode-name) (quote minor-mode-alist) "%n" (quote mode-line-process) (purecopy ")%]----") (purecopy (quote (-3 . "%p"))) (purecopy "-%-")))
  23.  
  24. (defvar minor-mode-alist nil "\
  25. Alist saying how to show minor modes in the mode line.
  26. Each element looks like (VARIABLE STRING);
  27. STRING is included in the mode line iff VARIABLE's value is non-nil.")
  28.  
  29. (setq minor-mode-alist (mapcar (quote purecopy) (quote ((abbrev-mode " Abbrev") (overwrite-mode " Ovwrt") (auto-fill-hook " Fill") (defining-kbd-macro " Def")))))
  30.  
  31. (defconst function-keymap (make-sparse-keymap) "\
  32. Keymap containing definitions of keypad and function keys.")
  33.  
  34. (defconst paragraph-start "^[     
  35. ]" "*Regexp for beginning of a line that starts OR separates paragraphs.")
  36.  
  37. (defconst paragraph-separate "^[      ]*$" "\
  38. *Regexp for beginning of a line that separates paragraphs.
  39. If you change this, you may have to change paragraph-start also.")
  40.  
  41. (defconst sentence-end (purecopy "[.?!][]\"')}]*\\($\\|    \\|  \\)[     
  42. ]*") "*Regexp describing the end of a sentence.
  43. All paragraph boundaries also end sentences, regardless.")
  44.  
  45. (defconst page-delimiter "^ " "\
  46. *Regexp describing line-beginnings that separate pages.")
  47.  
  48. (defconst case-replace t "\
  49. *Non-nil means query-replace should preserve case in replacements.")
  50.  
  51. (defvar indent-line-function (quote indent-to-left-margin) "\
  52. Function to indent current line.")
  53.  
  54. (defconst only-global-abbrevs nil "\
  55. *t means user plans to use global abbrevs only.
  56. Makes the commands to define mode-specific abbrevs define global ones instead.")
  57.  
  58. (setq completion-ignored-extensions (if (eq system-type (quote vax-vms)) (quote (".obj" ".elc" ".exe" ".bin" ".lbin" ".dvi" ".toc" ".log" ".aux" ".lof" ".brn" ".rnt" ".mem" ".lni" ".lis" ".olb" ".tlb" ".mlb" ".hlb" ".glo" ".idx" ".lot")) (quote (".o" ".elc" "~" ".bin" ".lbin" ".fasl" ".dvi" ".toc" ".log" ".aux" ".lof" ".blg" ".bbl" ".glo" ".idx" ".lot"))))
  59.  
  60. (defvar compile-command "make -k" "\
  61. *Last shell command used to do a compilation; default for next compilation.")
  62.  
  63. (defvar dired-listing-switches "-al" "\
  64. *Switches passed to ls for Dired.  MUST contain the `l' option.
  65. MUST NOT contain the `F, `s' or `i'' option.")
  66.  
  67. (defconst lpr-switches nil "\
  68. *List of strings to pass as extra switch args to lpr when it is invoked.")
  69.  
  70. (defvar tags-file-name nil "\
  71. *File name of tag table.
  72. To switch to a new tag table, setting this variable is sufficient.
  73. Use the `etags' program to make a tag table file.")
  74.  
  75. (defconst shell-prompt-pattern "^[^#$%>]*[#$%>] *" "\
  76. *Regexp used by Newline command in shell mode to match subshell prompts.
  77. Anything from beginning of line up to the end of what this pattern matches
  78. is deemed to be prompt, and is not reexecuted.")
  79.  
  80. (defconst ledit-save-files t "\
  81. *Non-nil means Ledit should save files before transferring to Lisp.")
  82.  
  83. (defconst ledit-go-to-lisp-string "%?lisp" "\
  84. *Shell commands to execute to resume Lisp job.")
  85.  
  86. (defconst ledit-go-to-liszt-string "%?liszt" "\
  87. *Shell commands to execute to resume Lisp compiler job.")
  88.  
  89. (defconst display-time-day-and-date nil "\
  90. *Non-nil means M-x display-time should display day and date as well as time.")
  91.  
  92. (defvar auto-mode-alist nil "\
  93. Alist of filename patterns vs corresponding major mode functions.
  94. Each element looks like (REGEXP . FUNCTION).
  95. Visiting a file whose name matches REGEXP causes FUNCTION to be called.")
  96.  
  97. (setq auto-mode-alist (mapcar (quote purecopy) (quote (("\\.text$" . text-mode) ("\\.c$" . c-mode) ("\\.h$" . c-mode) ("\\.tex$" . TeX-mode) ("\\.el$" . emacs-lisp-mode) ("\\.scm$" . scheme-mode) ("\\.l$" . lisp-mode) ("\\.lisp$" . lisp-mode) ("\\.f$" . fortran-mode) ("\\.mss$" . scribe-mode) ("\\.pl$" . prolog-mode) ("\\.TeX$" . TeX-mode) ("\\.sty$" . LaTeX-mode) ("\\.bbl$" . LaTeX-mode) ("\\.bib$" . text-mode) ("\\.article$" . text-mode) ("\\.letter$" . text-mode) ("\\.texinfo$" . texinfo-mode) ("\\.lsp$" . lisp-mode) ("\\.prolog$" . prolog-mode) ("^/tmp/Re" . text-mode) ("^/tmp/fol/" . text-mode) ("/Message[0-9]*$" . text-mode) ("\\.y$" . c-mode) ("\\.cc$" . c-mode) ("\\.scm.[0-9]*$" . scheme-mode) ("[]>:/]\\..*emacs" . emacs-lisp-mode) ("\\.ml$" . lisp-mode)))))
  98.  
  99. (make-variable-buffer-local (quote indent-tabs-mode))
  100.  
  101. (defvar ctl-x-4-map (make-keymap) "\
  102. Keymap for subcommands of C-x 4")
  103.  
  104. (garbage-collect)
  105.  
  106. (autoload (quote add-change-log-entry) "add-log" "\
  107. Find change log file and add an entry for today.
  108. First arg (interactive prefix) non-nil means prompt for user name and site.
  109. Second arg is file name of change log.
  110. Optional third arg OTHER-WINDOW non-nil means visit in other window." t)
  111.  
  112. (define-key ctl-x-4-map "a" (quote add-change-log-entry-other-window))
  113.  
  114. (autoload (quote add-change-log-entry-other-window) "add-log" "\
  115. Find change log file in other window, and add an entry for today." t)
  116.  
  117. (autoload (quote \`) "backquote" "\
  118. (` FORM) Expands to a form that will generate FORM.
  119. FORM is `almost quoted' -- see backquote.el for a description." nil t)
  120.  
  121. (autoload (quote byte-compile-file) "bytecomp" "\
  122. Compile a file of Lisp code named FILENAME into a file of byte code.
  123. The output file's name is made by appending \"c\" to the end of FILENAME." t)
  124.  
  125. (autoload (quote byte-recompile-directory) "bytecomp" "\
  126. Recompile every .el file in DIRECTORY that needs recompilation.
  127. This is if a .elc file exists but is older than the .el file.
  128. If the .elc file does not exist, offer to compile the .el file
  129. only if a prefix argument has been specified." t)
  130.  
  131. (autoload (quote batch-byte-compile) "bytecomp" "\
  132. Runs byte-compile-file on the files remaining on the command line.
  133. Must be used only with -batch, and kills emacs on completion.
  134. Each file will be processed even if an error occurred previously.
  135. For example, invoke \"emacs -batch -f batch-byte-compile $emacs/ ~/*.el\"" nil)
  136.  
  137. (autoload (quote calendar) "cal" "\
  138. Display three-month calendar in another window.
  139. The three months appear side by side, with the current month in the middle
  140. surrounded by the previous and next months.  The cursor is put on today's date.
  141.  
  142. An optional prefix argument ARG causes the calendar displayed to be
  143. ARG months in the future if ARG is positive or in the past if ARG is
  144. negative; in this case the cursor goes on the first day of the month.
  145.  
  146. The Gregorian calendar is assumed.
  147.  
  148. After preparing the calendar window, the hooks calendar-hook are run
  149. when the calendar is for the current month--that is, the was no prefix
  150. argument.  If the calendar is for a future or past month--that is, there
  151. was a prefix argument--the hooks offset-calendar-hook are run.  Thus, for
  152. example, setting calendar-hooks to 'star-date will cause today's date to be
  153. replaced by asterisks to highlight it in the window." t)
  154.  
  155. (autoload (quote list-command-history) "chistory" "\
  156. List history of commands typed to minibuffer.
  157. The number of commands listed is controlled by  list-command-history-max.
  158. Calls value of  list-command-history-filter  (if non-nil) on each history
  159. element to judge if that element should be excluded from the list.
  160.  
  161. The buffer is left in Command History mode." t)
  162.  
  163. (autoload (quote command-history-mode) "chistory" "\
  164. Major mode for examining commands from  command-history.
  165. The number of commands listed is controlled by  list-command-history-max.
  166. The command history is filtered by  list-command-history-filter  if non-nil.
  167.  
  168. Like Emacs-Lisp Mode except that characters do not insert themselves and
  169. Digits provide prefix arguments.  Tab does not indent.
  170. \\{command-history-map}
  171. Calls the value of  command-history-hook  if that is non-nil
  172. The Command History listing is recomputed each time this mode is
  173. invoked." t)
  174.  
  175. (autoload (quote repeat-matching-complex-command) "chistory" "\
  176. Edit and re-evaluate complex command with name matching PATTERN.
  177. Matching occurrences are displayed, most recent first, until you
  178. select a form for evaluation.  If PATTERN is empty (or nil), every form
  179. in the command history is offered.  The form is placed in the minibuffer
  180. for editing and the result is evaluated." t)
  181.  
  182. (autoload (quote common-lisp-indent-hook) "cl-indent")
  183.  
  184. (autoload (quote compare-windows) "compare-w" "\
  185. Compare text in current window with text in next window.
  186. Compares the text starting at point in each window,
  187. moving over text in each one as far as they match." t)
  188.  
  189. (autoload (quote compile) "compile" "\
  190. Compile the program including the current buffer.  Default: run `make'.
  191. Runs COMMAND, a shell command, in a separate process asynchronously
  192. with output going to the buffer *compilation*.
  193. You can then use the command \\[next-error] to find the next error message
  194. and move to the source code that caused it." t)
  195.  
  196. (autoload (quote grep) "compile" "\
  197. Run grep, with user-specified args, and collect output in a buffer.
  198. While grep runs asynchronously, you can use the \\[next-error] command
  199. to find the text that grep hits refer to." t)
  200.  
  201. (define-key ctl-x-map "`" (quote next-error))
  202.  
  203. (autoload (quote next-error) "compile" "\
  204. Visit next compilation error message and corresponding source code.
  205. This operates on the output from the \\[compile] command.
  206. If all preparsed error messages have been processed,
  207. the error message buffer is checked for new ones.
  208. A non-nil argument (prefix arg, if interactive)
  209. means reparse the error message buffer and start at the first error." t)
  210.  
  211. (define-key esc-map "/" (quote dabbrev-expand))
  212.  
  213. (autoload (quote dabbrev-expand) "dabbrev" "\
  214. Expand previous word \"dynamically\".
  215. Expands to the most recent, preceding word for which this is a prefix.
  216. If no suitable preceding word is found, words following point are considered.
  217.  
  218. A positive prefix argument, N, says to take the Nth backward DISTINCT
  219. possibility.  A negative argument says search forward.  The variable
  220. dabbrev-backward-only may be used to limit the direction of search to
  221. backward if set non-nil.
  222.  
  223. If the cursor has not moved from the end of the previous expansion and
  224. no argument is given, replace the previously-made expansion
  225. with the next possible expansion not yet tried." t)
  226.  
  227. (autoload (quote debug) "debug" "\
  228. Enter debugger.  Returns if user says \"continue\".
  229. Arguments are mainly for use when this is called
  230.  from the internals of the evaluator.
  231. You may call with no args, or you may
  232.  pass nil as the first arg and any other args you like.
  233.  In that case, the list of args after the first will 
  234.  be printed into the backtrace buffer.")
  235.  
  236. (autoload (quote cancel-debug-on-entry) "debug" "\
  237. Undoes effect of debug-on-entry on FUNCTION." t)
  238.  
  239. (autoload (quote debug-on-entry) "debug" "\
  240. Request FUNCTION to invoke debugger each time it is called.
  241. If the user continues, FUNCTION's execution proceeds.
  242. Works by modifying the definition of FUNCTION,
  243. which must be written in Lisp, not predefined.
  244. Use `cancel-debug-on-entry' to cancel the effect of this command.
  245. Redefining FUNCTION also does that." t)
  246.  
  247. (define-key ctl-x-map "d" (quote dired))
  248.  
  249. (autoload (quote dired) "dired" "\
  250. \"Edit\" directory DIRNAME--delete, rename, print, etc. some files in it.
  251. Dired displays a list of files in DIRNAME.
  252. You can move around in it with the usual commands.
  253. You can flag files for deletion with C-d
  254. and then delete them by typing `x'.
  255. Type `h' after entering dired for more info." t)
  256.  
  257. (define-key ctl-x-4-map "d" (quote dired-other-window))
  258.  
  259. (autoload (quote dired-other-window) "dired" "\
  260. \"Edit\" directory DIRNAME.  Like \\[dired] but selects in another window." t)
  261.  
  262. (autoload (quote dired-noselect) "dired" "\
  263. Like M-x dired but returns the dired buffer as value, does not select it.")
  264.  
  265. (autoload (quote dissociated-press) "dissociate" "\
  266. Dissociate the text of the current buffer.
  267. Output goes in buffer named *Dissociation*,
  268. which is redisplayed each time text is added to it.
  269. Every so often the user must say whether to continue.
  270. If ARG is positive, require ARG chars of continuity.
  271. If ARG is negative, require -ARG words of continuity.
  272. Default is 2." t)
  273.  
  274. (autoload (quote doctor) "doctor" "\
  275. Switch to *doctor* buffer and start giving psychotherapy." t)
  276.  
  277. (autoload (quote disassemble) "disass" "\
  278. Print disassembled code for OBJECT on (optional) STREAM.
  279. OBJECT can be a function name, lambda expression or any function object
  280. returned by SYMBOL-FUNCTION.  If OBJECT is not already compiled, we will
  281. compile it (but not redefine it)." t)
  282.  
  283. (autoload (quote electric-buffer-list) "ebuff-menu" "\
  284. Vaguely like ITS lunar select buffer;
  285. combining typeoutoid buffer listing with menuoid buffer selection.
  286.  
  287. This pops up a buffer describing the set of emacs buffers.
  288. If the very next character typed is a space then the buffer list
  289.  window disappears.
  290.  
  291. Otherwise, one may move around in the buffer list window, marking
  292.  buffers to be selected, saved or deleted.
  293.  
  294. To exit and select a new buffer, type Space when the cursor is on the
  295.  appropriate line of the buffer-list window.
  296.  
  297. Other commands are much like those of buffer-menu-mode.
  298.  
  299. Calls value of  electric-buffer-menu-mode-hook  on entry if non-nil.
  300.  
  301. \\{electric-buffer-menu-mode-map}" t)
  302.  
  303. (autoload (quote electric-command-history) "echistory" "\
  304. Major mode for examining and redoing commands from  command-history.
  305. The number of command listed is controlled by  list-command-history-max.
  306. The command history is filtered by  list-command-history-filter  if non-nil.
  307. Combines typeout Command History list window with menu like selection
  308. of an expression from the history for re-evaluation in the *original* buffer.
  309.  
  310. The history displayed is filtered by  list-command-history-filter  if non-nil.
  311.  
  312. This pops up a window with the Command History listing.  If the very
  313. next character typed is Space, the listing is killed and the previous
  314. window configuration is restored.  Otherwise, you can browse in the
  315. Command History with  Return  moving down and  Delete  moving up, possibly
  316. selecting an expression to be redone with Space or quitting with `Q'.
  317.  
  318. Like Emacs-Lisp Mode except that characters do not insert themselves and
  319. Tab and linefeed do not indent.  Instead these commands are provided:
  320. Space or !    edit then evaluate current line in history inside
  321.            the ORIGINAL buffer which invoked this mode.
  322.            The previous window configuration is restored
  323.            unless the invoked command changes it.
  324. C-c C-c, C-], Q    Quit and restore previous window configuration.
  325. LFD, RET    Move to the next line in the history.
  326. DEL        Move to the previous line in the history.
  327. ?        Provides a complete list of commands.
  328.  
  329. Calls the value of  electric-command-history-hook  if that is non-nil
  330. The Command History listing is recomputed each time this mode is invoked." t)
  331.  
  332. (autoload (quote edt-emulation-on) "edt" "\
  333. Begin emulating DEC's EDT editor.
  334. Certain keys are rebound; including nearly all keypad keys.
  335. Use \\[edt-emulation-off] to undo all rebindings except the keypad keys.
  336. Note that this function does not work if called directly from the .emacs file.
  337. Instead, the .emacs file should do (setq term-setup-hook 'edt-emulation-on)
  338. Then this function will be called at the time when it will work." t)
  339.  
  340. (autoload (quote fortran-mode) "fortran" "\
  341. Major mode for editing fortran code.
  342. Tab indents the current fortran line correctly. 
  343. `do' statements must not share a common `continue'.
  344.  
  345. Type `;?' or `;\\[help-command]' to display a list of built-in abbrevs for Fortran keywords.
  346.  
  347. Variables controlling indentation style and extra features:
  348.  
  349.  comment-start
  350.     Normally nil in Fortran mode.  If you want to use comments
  351.     starting with `!', set this to the string \"!\".
  352.  fortran-do-indent
  353.     Extra indentation within do blocks.  (default 3)
  354.  fortran-if-indent
  355.     Extra indentation within if blocks.  (default 3)
  356.  fortran-continuation-indent
  357.     Extra indentation appled to continuation statements.  (default 5)
  358.  fortran-comment-line-column
  359.     Amount of indentation for text within full-line comments. (default 6)
  360.  fortran-comment-indent-style
  361.     nil    means don't change indentation of text in full-line comments,
  362.     fixed  means indent that text at column fortran-comment-line-column
  363.     relative  means indent at fortran-comment-line-column beyond the
  364.            indentation for a line of code.
  365.     Default value is fixed.
  366.  fortran-comment-indent-char
  367.     Character to be inserted instead of space for full-line comment
  368.     indentation.  (default is a space)
  369.  fortran-minimum-statement-indent
  370.     Minimum indentation for fortran statements. (default 6)
  371.  fortran-line-number-indent
  372.     Maximum indentation for line numbers.  A line number will get
  373.     less than this much indentation if necessary to avoid reaching
  374.     column 5.  (default 1)
  375.  fortran-check-all-num-for-matching-do
  376.     Non-nil causes all numbered lines to be treated as possible 'continue'
  377.     statements.  (default nil)
  378.  fortran-continuation-char
  379.     character to be inserted in column 5 of a continuation line.
  380.     (default $)
  381.  fortran-comment-region
  382.     String inserted by \\[fortran-comment-region] at start of each line in 
  383.     region.  (default \"c$$$\")
  384.  fortran-electric-line-number
  385.     Non-nil causes line number digits to be moved to the correct column 
  386.     as typed.  (default t)
  387.  fortran-startup-message
  388.     Set to nil to inhibit message first time fortran-mode is used.
  389.  
  390. Turning on Fortran mode calls the value of the variable fortran-mode-hook 
  391. with no args, if that value is non-nil.
  392. \\{fortran-mode-map}" t)
  393.  
  394. (autoload (quote ftp-find-file) "ftp" "\
  395. FTP to HOST to get FILE, logging in as USER with password PASSWORD.
  396. Interactively, HOST and FILE are specified by reading a string with
  397.  a colon character separating the host from the filename.
  398. USER and PASSWORD are defaulted from the values used when
  399.  last ftping from HOST (unless password-remembering is disabled).
  400.  Supply a password of the symbol `t' to override this default
  401.  (interactively, this is done by giving a prefix arg)" t)
  402.  
  403. (autoload (quote ftp-write-file) "ftp" "\
  404. FTP to HOST to write FILE, logging in as USER with password PASSWORD.
  405. Interactively, HOST and FILE are specified by reading a string with colon
  406. separating the host from the filename.
  407. USER and PASSWORD are defaulted from the values used when
  408.  last ftping from HOST (unless password-remembering is disabled).
  409.  Supply a password of the symbol `t' to override this default
  410.  (interactively, this is done by giving a prefix arg)" t)
  411.  
  412. (autoload (quote gdb) "gdb" "\
  413. Run gdb on program FILE in buffer *gdb-FILE*.
  414. The directory containing FILE becomes the initial working directory
  415. and source-file directory for GDB.  If you wish to change this, use
  416. the GDB commands `cd DIR' and `directory'." t)
  417.  
  418. (autoload (quote set-gosmacs-bindings) "gosmacs" "\
  419. Rebind some keys globally to make GNU Emacs resemble Gosling Emacs.
  420. Use \\[set-gnu-bindings] to restore previous global bindings." t)
  421.  
  422. (autoload (quote hanoi) "hanoi" "\
  423. Towers of Hanoi diversion.  Argument is number of rings." t)
  424.  
  425. (autoload (quote Helper-help) "helper" "\
  426. Provide help for current mode." t)
  427.  
  428. (autoload (quote Helper-describe-bindings) "helper" "\
  429. Describe local key bindings of current mode." t)
  430.  
  431. (autoload (quote info) "info" "\
  432. Enter Info, the documentation browser." t)
  433.  
  434. (autoload (quote Info-tagify) "informat" "\
  435. Create or update Info-file tag table in current buffer." t)
  436.  
  437. (autoload (quote Info-validate) "informat" "\
  438. Check current buffer for validity as an Info file.
  439. Check that every node pointer points to an existing node." t)
  440.  
  441. (autoload (quote Info-split) "informat" "\
  442. Split an info file into an indirect file plus bounded-size subfiles.
  443. Each subfile will be up to 50000 characters plus one node.
  444.  
  445. To use this command, first visit a large Info file that has a tag table.
  446. The buffer is modified into a (small) indirect info file
  447. which should be saved in place of the original visited file.
  448.  
  449. The subfiles are written in the same directory the original file is in,
  450. with names generated by appending `-' and a number to the original file name.
  451.  
  452. The indirect file still functions as an Info file, but it contains
  453. just the tag table and a directory of subfiles." t)
  454.  
  455. (autoload (quote batch-info-validate) "informat" "\
  456. Runs  Info-validate  on the files remaining on the command line.
  457. Must be used only with -batch, and kills emacs on completion.
  458. Each file will be processed even if an error occurred previously.
  459. For example, invoke \"emacs -batch -f batch-info-validate $info/ ~/*.info\"" nil)
  460.  
  461. (autoload (quote ledit-mode) "ledit" "\
  462. Major mode for editing text and stuffing it to a Lisp job.
  463. Like Lisp mode, plus these special commands:
  464.   M-C-d    -- record defun at or after point
  465.        for later transmission to Lisp job.
  466.   M-C-r -- record region for later transmission to Lisp job.
  467.   C-x z -- transfer to Lisp job and transmit saved text.
  468.   M-C-c -- transfer to Liszt (Lisp compiler) job
  469.        and transmit saved text.
  470. \\{ledit-mode-map}
  471. To make Lisp mode automatically change to Ledit mode,
  472. do (setq lisp-mode-hook 'ledit-from-lisp-mode)" t)
  473.  
  474. (autoload (quote ledit-from-lisp-mode) "ledit")
  475.  
  476. (autoload (quote lpr-buffer) "lpr" "\
  477. Print buffer contents as with Unix command `lpr'.
  478. `lpr-switches' is a list of extra switches (strings) to pass to lpr." t)
  479.  
  480. (autoload (quote print-buffer) "lpr" "\
  481. Print buffer contents as with Unix command `lpr -p'.
  482. `lpr-switches' is a list of extra switches (strings) to pass to lpr." t)
  483.  
  484. (autoload (quote lpr-region) "lpr" "\
  485. Print region contents as with Unix command `lpr'.
  486. `lpr-switches' is a list of extra switches (strings) to pass to lpr." t)
  487.  
  488. (autoload (quote print-region) "lpr" "\
  489. Print region contents as with Unix command `lpr -p'.
  490. `lpr-switches' is a list of extra switches (strings) to pass to lpr." t)
  491.  
  492. (autoload (quote insert-kbd-macro) "macros" "\
  493. Insert in buffer the definition of kbd macro NAME, as Lisp code.
  494. Second argument KEYS non-nil means also record the keys it is on.
  495.  (This is the prefix argument, when calling interactively.)
  496.  
  497. This Lisp code will, when executed, define the kbd macro with the
  498. same definition it has now.  If you say to record the keys,
  499. the Lisp code will also rebind those keys to the macro.
  500. Only global key bindings are recorded since executing this Lisp code
  501. always makes global bindings.
  502.  
  503. To save a kbd macro, visit a file of Lisp code such as your ~/.emacs,
  504. use this command, and then save the file." t)
  505.  
  506. (define-key ctl-x-map "q" (quote kbd-macro-query))
  507.  
  508. (autoload (quote kbd-macro-query) "macros" "\
  509. Query user during kbd macro execution.
  510. With prefix argument, enters recursive edit,
  511.  reading keyboard commands even within a kbd macro.
  512.  You can give different commands each time the macro executes.
  513. Without prefix argument, reads a character.  Your options are:
  514.  Space -- execute the rest of the macro.
  515.  DEL -- skip the rest of the macro; start next repetition.
  516.  C-d -- skip rest of the macro and don't repeat it any more.
  517.  C-r -- enter a recursive edit, then on exit ask again for a character
  518.  C-l -- redisplay screen and ask again." t)
  519.  
  520. (autoload (quote name-last-kbd-macro) "macros" "\
  521. Assign a name to the last keyboard macro defined.
  522. One arg, a symbol, which is the name to define.
  523. The symbol's function definition becomes the keyboard macro string.
  524. Such a \"function\" cannot be called from Lisp, but it is a valid command
  525. definition for the editor command loop." t)
  526.  
  527. (autoload (quote make-command-summary) "makesum" "\
  528. Make a summary of current key bindings in the buffer *Summary*.
  529. Previous contents of that buffer are killed first." t)
  530.  
  531. (autoload (quote define-mail-alias) "mailalias" "\
  532. Define NAME as a mail-alias that translates to DEFINITION." t)
  533.  
  534. (autoload (quote manual-entry) "man" "\
  535. Display the Unix manual entry for TOPIC.
  536. TOPIC is either the title of the entry, or has the form TITLE(SECTION)
  537. where SECTION is the desired section of the manual, as in `tty(4)'." t)
  538.  
  539. (autoload (quote mh-rmail) "mh-e" "\
  540. Inc(orporate) new mail (no arg) or scan a MH mail box (arg given).
  541. This front end uses the MH mail system, which uses different conventions
  542. from the usual mail system." t)
  543.  
  544. (autoload (quote mh-smail) "mh-e" "\
  545. Send mail using the MH mail system." t)
  546.  
  547. (autoload (quote convert-mocklisp-buffer) "mlconvert" "\
  548. Convert buffer of Mocklisp code to real Lisp that GNU Emacs can run." t)
  549.  
  550. (autoload (quote modula-2-mode) "modula2" "\
  551. This is a mode intended to support program development in Modula-2.
  552. All control constructs of Modula-2 can be reached by typing
  553. Control-C followed by the first character of the construct.
  554. \\{m2-mode-map}
  555.   Control-c b begin         Control-c c case
  556.   Control-c d definition    Control-c e else
  557.   Control-c f for           Control-c h header
  558.   Control-c i if            Control-c m module
  559.   Control-c l loop          Control-c o or
  560.   Control-c p procedure     Control-c Control-w with
  561.   Control-c r record        Control-c s stdio
  562.   Control-c t type          Control-c u until
  563.   Control-c v var           Control-c w while
  564.   Control-c x export        Control-c y import
  565.   Control-c { begin-comment Control-c } end-comment
  566.   Control-c Control-z suspend-emacs     Control-c Control-t toggle
  567.   Control-c Control-c compile           Control-x ` next-error
  568.   Control-c Control-l link
  569.  
  570.    m2-indent controls the number of spaces for each indentation.
  571.    m2-compile-command holds the command to compile a Modula-2 program.
  572.    m2-link-command holds the command to link a Modula-2 program." t)
  573.  
  574. (setq disabled-command-hook (quote disabled-command-hook))
  575.  
  576. (autoload (quote disabled-command-hook) "novice")
  577.  
  578. (autoload (quote enable-command) "novice" "\
  579. Allow COMMAND to be executed without special confirmation from now on.
  580. The user's .emacs file is altered so that this will apply
  581. to future sessions." t)
  582.  
  583. (autoload (quote disable-command) "novice" "\
  584. Require special confirmation to execute COMMAND from now on.
  585. The user's .emacs file is altered so that this will apply
  586. to future sessions." t)
  587.  
  588. (autoload (quote nroff-mode) "nroff-mode" "\
  589. Major mode for editing text intended for nroff to format.
  590. \\{nroff-mode-map}
  591. Turning on Nroff mode runs text-mode-hook, then nroff-mode-hook.
  592. Also, try nroff-electric-mode, for automatically inserting
  593. closing requests for requests that are used in matched pairs." t)
  594.  
  595. (autoload (quote list-options) "options" "\
  596. Display a list of Emacs user options, with values and documentation." t)
  597.  
  598. (autoload (quote edit-options) "options" "\
  599. Edit a list of Emacs user option values.
  600. Selects a buffer containing such a list,
  601. in which there are commands to set the option values.
  602. Type \\[describe-mode] in that buffer for a list of commands." t)
  603.  
  604. (autoload (quote outline-mode) "outline" "\
  605. Set major mode for editing outlines with selective display.
  606. Headings are lines which start with asterisks: one for major headings,
  607. two for subheadings, etc.  Lines not starting with asterisks are body lines. 
  608.  
  609. Body text or subheadings under a heading can be made temporarily
  610. invisible, or visible again.  Invisible lines are attached to the end 
  611. of the heading, so they move with it, if the line is killed and yanked
  612. back.  A heading with text hidden under it is marked with an ellipsis (...).
  613.  
  614. Commands:
  615. C-c C-n   outline-next-visible-heading      move by visible headings
  616. C-c C-p   outline-previous-visible-heading
  617. C-c C-f   outline-forward-same-level        similar but skip subheadings
  618. C-c C-b   outline-backward-same-level
  619. C-c C-u   outline-up-heading            move from subheading to heading
  620.  
  621. Meta-x hide-body    make all text invisible (not headings).
  622. Meta-x show-all        make everything in buffer visible.
  623.  
  624. The remaining commands are used when point is on a heading line.
  625. They apply to some of the body or subheadings of that heading.
  626. C-c C-h   hide-subtree    make body and subheadings invisible.
  627. C-c C-s   show-subtree    make body and subheadings visible.
  628. C-c C-i   show-children    make direct subheadings visible.
  629.          No effect on body, or subheadings 2 or more levels down.
  630.          With arg N, affects subheadings N levels down.
  631. M-x hide-entry       make immediately following body invisible.
  632. M-x show-entry       make it visible.
  633. M-x hide-leaves       make body under heading and under its subheadings invisible.
  634.              The subheadings remain visible.
  635. M-x show-branches  make all subheadings at all levels visible.
  636.  
  637. The variable outline-regexp can be changed to control what is a heading.
  638. A line is a heading if outline-regexp matches something at the
  639. beginning of the line.  The longer the match, the deeper the level.
  640.  
  641. Turning on outline mode calls the value of text-mode-hook and then of
  642. outline-mode-hook, if they are non-nil." t)
  643.  
  644. (autoload (quote edit-picture) "picture" "\
  645. Switch to Picture mode, in which a quarter-plane screen model is used.
  646. Printing characters replace instead of inserting themselves with motion
  647. afterwards settable by these commands:
  648.   C-c <      Move left after insertion.
  649.   C-c >      Move right after insertion.
  650.   C-c ^      Move up after insertion.
  651.   C-c .      Move down after insertion.
  652.   C-c `      Move northwest (nw) after insertion.
  653.   C-c '      Move northeast (ne) after insertion.
  654.   C-c /      Move southwest (sw) after insertion.
  655.   C-c \\   Move southeast (se) after insertion.
  656. The current direction is displayed in the mode line.  The initial
  657. direction is right.  Whitespace is inserted and tabs are changed to
  658. spaces when required by movement.  You can move around in the buffer
  659. with these commands:
  660.   C-p      Move vertically to SAME column in previous line.
  661.   C-n      Move vertically to SAME column in next line.
  662.   C-e      Move to column following last non-whitespace character.
  663.   C-f      Move right inserting spaces if required.
  664.   C-b      Move left changing tabs to spaces if required.
  665.   C-c C-f Move in direction of current picture motion.
  666.   C-c C-b Move in opposite direction of current picture motion.
  667.   Return  Move to beginning of next line.
  668. You can edit tabular text with these commands:
  669.   M-Tab      Move to column beneath (or at) next interesting charecter.
  670.         `Indents' relative to a previous line.
  671.   Tab      Move to next stop in tab stop list.
  672.   C-c Tab Set tab stops according to context of this line.
  673.         With ARG resets tab stops to default (global) value.
  674.         See also documentation of variable    picture-tab-chars
  675.         which defines \"interesting character\".  You can manually
  676.         change the tab stop list with command \\[edit-tab-stops].
  677. You can manipulate text with these commands:
  678.   C-d      Clear (replace) ARG columns after point without moving.
  679.   C-c C-d Delete char at point - the command normally assigned to C-d.
  680.   Delete  Clear (replace) ARG columns before point, moving back over them.
  681.   C-k      Clear ARG lines, advancing over them.     The cleared
  682.         text is saved in the kill ring.
  683.   C-o      Open blank line(s) beneath current line.
  684. You can manipulate rectangles with these commands:
  685.   C-c C-k Clear (or kill) a rectangle and save it.
  686.   C-c C-w Like C-c C-k except rectangle is saved in named register.
  687.   C-c C-y Overlay (or insert) currently saved rectangle at point.
  688.   C-c C-x Like C-c C-y except rectangle is taken from named register.
  689.   \\[copy-rectangle-to-register]   Copies a rectangle to a register.
  690.   \\[advertised-undo]   Can undo effects of rectangle overlay commands
  691.         commands if invoked soon enough.
  692. You can return to the previous mode with:
  693.   C-c C-c Which also strips trailing whitespace from every line.
  694.         Stripping is suppressed by supplying an argument.
  695.  
  696. Entry to this mode calls the value of  edit-picture-hook  if non-nil.
  697.  
  698. Note that Picture mode commands will work outside of Picture mode, but
  699. they are not defaultly assigned to keys." t)
  700.  
  701. (fset (quote picture-mode) (quote edit-picture))
  702.  
  703. (autoload (quote prolog-mode) "prolog" "\
  704. Major mode for editing Prolog code for Prologs.
  705. Blank lines and `%%...' separate paragraphs.  `%'s start comments.
  706. Commands:
  707. \\{prolog-mode-map}
  708. Entry to this mode calls the value of prolog-mode-hook
  709. if that value is non-nil." t)
  710.  
  711. (autoload (quote run-prolog) "prolog" "\
  712. Run an inferior Prolog process, input and output via buffer *prolog*." t)
  713.  
  714. (autoload (quote clear-rectangle) "rect" "\
  715. Blank out rectangle with corners at point and mark.
  716. The text previously in the region is overwritten by the blanks." t)
  717.  
  718. (autoload (quote delete-rectangle) "rect" "\
  719. Delete (don't save) text in rectangle with point and mark as corners.
  720. The same range of columns is deleted in each line
  721. starting with the line where the region begins
  722. and ending with the line where the region ends." t)
  723.  
  724. (autoload (quote delete-extract-rectangle) "rect" "\
  725. Return and delete contents of rectangle with corners at START and END.
  726. Value is list of strings, one for each line of the rectangle.")
  727.  
  728. (autoload (quote extract-rectangle) "rect" "\
  729. Return contents of rectangle with corners at START and END.
  730. Value is list of strings, one for each line of the rectangle.")
  731.  
  732. (autoload (quote insert-rectangle) "rect" "\
  733. Insert text of RECTANGLE with upper left corner at point.
  734. RECTANGLE's first line is inserted at point,
  735. its second line is inserted at a point vertically under point, etc.
  736. RECTANGLE should be a list of strings.")
  737.  
  738. (autoload (quote kill-rectangle) "rect" "\
  739. Delete rectangle with corners at point and mark; save as last killed one.
  740. Calling from program, supply two args START and END, buffer positions.
  741. But in programs you might prefer to use delete-extract-rectangle." t)
  742.  
  743. (autoload (quote open-rectangle) "rect" "\
  744. Blank out rectangle with corners at point and mark, shifting text right.
  745. The text previously in the region is not overwritten by the blanks,
  746. but insted winds up to the right of the rectangle." t)
  747.  
  748. (autoload (quote yank-rectangle) "rect" "\
  749. Yank the last killed rectangle with upper left corner at point." t)
  750.  
  751. (autoload (quote rnews) "rnews" "\
  752. Read USENET news for groups for which you are a member and add or
  753. delete groups.
  754. You can reply to articles posted and send articles to any group.
  755.  
  756. Type \\[describe-mode] once reading news to get a list of rnews commands." t)
  757.  
  758. (autoload (quote news-post-news) "rnewspost" "\
  759. Begin editing a new USENET news article to be posted.
  760. Type \\[describe-mode] once editing the article to get a list of commands." t)
  761.  
  762. (fset (quote sendnews) (quote news-post-news))
  763.  
  764. (fset (quote postnews) (quote news-post-news))
  765.  
  766. (autoload (quote rmail) "rmail" "\
  767. Read and edit incoming mail.
  768. Moves messages into file named by  rmail-file-name  (a babyl format file)
  769.  and edits that file in RMAIL Mode.
  770. Type \\[describe-mode] once editing that file, for a list of RMAIL commands.
  771.  
  772. May be called with filename as argument;
  773. then performs rmail editing on that file,
  774. but does not copy any new mail into the file." t)
  775.  
  776. (autoload (quote rmail-input) "rmail" "\
  777. Run RMAIL on file FILENAME." t)
  778.  
  779. (defconst rmail-dont-reply-to-names nil "\
  780. *A regular expression specifying names to prune in replying to messages.
  781. nil means don't reply to yourself.")
  782.  
  783. (defvar rmail-default-dont-reply-to-names "info-" "\
  784. A regular expression specifying part of the value of the default value of
  785. the variable `rmail-dont-reply-to-names', for when the user does not set
  786. `rmail-dont-reply-to-names' explicitly.  (The other part of the default
  787. value is the user's name.)
  788. It is useful to set this variable in the site customisation file.")
  789.  
  790. (defconst rmail-primary-inbox-list nil "\
  791. *List of files which are inboxes for user's primary mail file ~/RMAIL.
  792. `nil' means the default, which is (\"~/mbox\" \"/usr/spool/mail/$USER\")
  793. (the second name varies depending on the operating system).")
  794.  
  795. (defconst rmail-ignored-headers "^via:\\|^mail-from:\\|^origin:\\|^status:\\|^received:\\|^[a-z-]*message-id:\\|^summary-line:\\|^errors-to:" "\
  796. *Gubbish header fields one would rather not see.")
  797.  
  798. (defvar rmail-delete-after-output nil "\
  799. *Non-nil means automatically delete a message that is copied to a file.")
  800.  
  801. (autoload (quote run-scheme) "xscheme" "\
  802. Run an inferior Scheme process.
  803. Output goes to the buffer `*scheme*'.
  804. With argument, asks for a command line." t)
  805.  
  806. (autoload (quote scheme-mode) "scheme" "\
  807. Major mode for editing Scheme code.
  808. Editing commands are similar to those of lisp-mode.
  809.  
  810. In addition, if an inferior Scheme process is running, some additional
  811. commands will be defined, for evaluating expressions and controlling
  812. the interpreter, and the state of the process will be displayed in the
  813. modeline of all Scheme buffers.  The names of commands that interact
  814. with the Scheme process start with \"xscheme-\".  For more information
  815. see the documentation for xscheme-interaction-mode.
  816.  
  817. Commands:
  818. Delete converts tabs to spaces as it moves back.
  819. Blank lines separate paragraphs.  Semicolons start comments.
  820. \\{scheme-mode-map}
  821. Entry to this mode calls the value of scheme-mode-hook
  822. if that value is non-nil." t)
  823.  
  824. (autoload (quote scribe-mode) "scribe" "\
  825. Major mode for editing files of Scribe (a text formatter) source.
  826. Scribe-mode is similar text-mode, with a few extra commands added.
  827. \\{scribe-mode-map}
  828.  
  829. Interesting variables:
  830.  
  831. scribe-fancy-paragraphs
  832.   Non-nil makes Scribe mode use a different style of paragraph separation.
  833.  
  834. scribe-electric-quote
  835.   Non-nil makes insert of double quote use `` or '' depending on context.
  836.  
  837. scribe-electric-parenthesis
  838.   Non-nil makes an open-parenthesis char (one of `([<{')
  839.   automatically insert its close if typed after an @Command form." t)
  840.  
  841. (defconst send-mail-function (quote sendmail-send-it) "\
  842. Function to call to send the current buffer as mail.
  843. The headers are delimited by a string found in mail-header-separator.")
  844.  
  845. (defconst mail-self-blind nil "\
  846. *Non-nil means insert BCC to self in messages to be sent.
  847. This is done when the message is initialized,
  848. so you can remove or alter the BCC field to override the default.")
  849.  
  850. (defconst mail-interactive nil "\
  851. *Non-nil means when sending a message wait for and display errors.
  852. nil means let mailer mail back a message to report errors.")
  853.  
  854. (defconst mail-yank-ignored-headers "^via:\\|^mail-from:\\|^origin:\\|^status:\\|^remailed\\|^received:\\|^[a-z-]*message-id:\\|^summary-line:\\|^to:\\|^cc:\\|^subject:\\|^in-reply-to:\\|^return-path:" "\
  855. Delete these headers from old message when it's inserted in a reply.")
  856.  
  857. (defconst mail-header-separator "--text follows this line--" "\
  858. *Line used to separate headers from text in messages being composed.")
  859.  
  860. (defconst mail-archive-file-name nil "\
  861. *Name of file to write all outgoing messages in, or nil for none.")
  862.  
  863. (defvar mail-aliases t "\
  864. Alias of mail address aliases,
  865. or t meaning should be initialized from .mailrc.")
  866.  
  867. (autoload (quote mail-other-window) "sendmail" "\
  868. Like `mail' command, but display mail buffer in another window." t)
  869.  
  870. (autoload (quote mail) "sendmail" "\
  871. Edit a message to be sent.  Argument means resume editing (don't erase).
  872. Returns with message buffer selected; value t if message freshly initialized.
  873. While editing message, type C-c C-c to send the message and exit.
  874.  
  875. Various special commands starting with C-c are available in sendmail mode
  876. to move to message header fields:
  877. \\{mail-mode-map}
  878.  
  879. If mail-self-blind is non-nil, a BCC to yourself is inserted
  880. when the message is initialized.
  881.  
  882. If mail-default-reply-to is non-nil, it should be an address (a string);
  883. a Reply-to: field with that address is inserted.
  884.  
  885. If mail-archive-file-name is non-nil, an FCC field with that file name
  886. is inserted.
  887.  
  888. If mail-setup-hook is bound, its value is called with no arguments
  889. after the message is initialized.  It can add more default fields.
  890.  
  891. When calling from a program, the second through fifth arguments
  892.  TO, SUBJECT, IN-REPLY-TO and CC specify if non-nil
  893.  the initial contents of those header fields.
  894.  These arguments should not have final newlines.
  895. The sixth argument REPLYBUFFER is a buffer whose contents
  896.  should be yanked if the user types C-c C-y." t)
  897.  
  898. (define-key ctl-x-4-map "m" (quote mail-other-window))
  899.  
  900. (define-key ctl-x-map "m" (quote mail))
  901.  
  902. (defvar mail-use-rfc822 nil "\
  903. *If non-nil, use a full, hairy RFC822 parser on mail addresses.
  904. Otherwise, (the default) use a smaller, somewhat faster and
  905. often-correct parser.")
  906.  
  907. (autoload (quote server-start) "server" "\
  908. Allow this Emacs process to be a server for client processes.
  909. This starts a server communications subprocess through which
  910. client \"editors\" can send your editing commands to this Emacs job.
  911. To use the server, set up the program `etc/emacsclient' in the
  912. Emacs distribution as your standard \"editor\".
  913.  
  914. Prefix arg means just kill any existing server communications subprocess." t)
  915.  
  916. (autoload (quote run-lisp) "shell" "\
  917. Run an inferior Lisp process, input and output via buffer *lisp*." t)
  918.  
  919. (autoload (quote shell) "shell" "\
  920. Run an inferior shell, with I/O through buffer *shell*.
  921. If buffer exists but shell process is not running, make new shell.
  922. Program used comes from variable explicit-shell-file-name,
  923.  or (if that is nil) from the ESHELL environment variable,
  924.  or else from SHELL if there is no ESHELL.
  925. If a file ~/.emacs_SHELLNAME exists, it is given as initial input
  926.  (Note that this may lose due to a timing error if the shell
  927.   discards input when it starts up.)
  928. The buffer is put in shell-mode, giving commands for sending input
  929. and controlling the subjobs of the shell.  See shell-mode.
  930. See also variable shell-prompt-pattern.
  931.  
  932. The shell file name (sans directories) is used to make a symbol name
  933. such as `explicit-csh-arguments'.  If that symbol is a variable,
  934. its value is used as a list of arguments when invoking the shell.
  935. Otherwise, one argument `-i' is passed to the shell.
  936.  
  937. Note that many people's .cshrc files unconditionally clear the prompt.
  938. If yours does, you will probably want to change it." t)
  939.  
  940. (autoload (quote sort-lines) "sort" "\
  941. Sort lines in region alphabetically; argument means descending order.
  942. Called from a program, there are three arguments:
  943. REVERSE (non-nil means reverse order), BEG and END (region to sort)." t)
  944.  
  945. (autoload (quote sort-paragraphs) "sort" "\
  946. Sort paragraphs in region alphabetically; argument means descending order.
  947. Called from a program, there are three arguments:
  948. REVERSE (non-nil means reverse order), BEG and END (region to sort)." t)
  949.  
  950. (autoload (quote sort-pages) "sort" "\
  951. Sort pages in region alphabetically; argument means descending order.
  952. Called from a program, there are three arguments:
  953. REVERSE (non-nil means reverse order), BEG and END (region to sort)." t)
  954.  
  955. (autoload (quote sort-numeric-fields) "sort" "\
  956. Sort lines in region numerically by the ARGth field of each line.
  957. Fields are separated by whitespace and numbered from 1 up.
  958. Specified field must contain a number in each line of the region.
  959. With a negative arg, sorts by the -ARG'th field, in reverse order.
  960. Called from a program, there are three arguments:
  961. FIELD, BEG and END.  BEG and END specify region to sort." t)
  962.  
  963. (autoload (quote sort-fields) "sort" "\
  964. Sort lines in region lexicographically by the ARGth field of each line.
  965. Fields are separated by whitespace and numbered from 1 up.
  966. With a negative arg, sorts by the -ARG'th field, in reverse order.
  967. Called from a program, there are three arguments:
  968. FIELD, BEG and END.  BEG and END specify region to sort." t)
  969.  
  970. (autoload (quote sort-columns) "sort" "\
  971. Sort lines in region alphabetically by a certain range of columns.
  972. For the purpose of this command, the region includes
  973. the entire line that point is in and the entire line the mark is in.
  974. The column positions of point and mark bound the range of columns to sort on.
  975. A prefix argument means sort into reverse order.
  976.  
  977. Note that sort-columns uses the sort utility program and therefore
  978. cannot work on text containing TAB characters.  Use M-x untabify
  979. to convert tabs to spaces before sorting." t)
  980.  
  981. (autoload (quote sort-regexp-fields) "sort" "\
  982. Sort the region lexicographically as specifed by RECORD-REGEXP and KEY.
  983. RECORD-REGEXP specifies the textual units which should be sorted.
  984.   For example, to sort lines RECORD-REGEXP would be \"^.*$\"
  985. KEY specifies the part of each record (ie each match for RECORD-REGEXP)
  986.   is to be used for sorting.
  987.   If it is \"\\digit\" then the digit'th \"\\(...\\)\" match field from
  988.   RECORD-REGEXP is used.
  989.   If it is \"\\&\" then the whole record is used.
  990.   Otherwise, it is a regular-expression for which to search within the record.
  991. If a match for KEY is not found within a record then that record is ignored.
  992.  
  993. With a negative prefix arg sorts in reverse order.
  994.  
  995. For example: to sort lines in the region by the first word on each line
  996.  starting with the letter \"f\",
  997.  RECORD-REGEXP would be \"^.*$\" and KEY \"\\<f\\w*\\>\"" t)
  998.  
  999. (autoload (quote spell-buffer) "spell" "\
  1000. Check spelling of every word in the buffer.
  1001. For each incorrect word, you are asked for the correct spelling
  1002. and then put into a query-replace to fix some or all occurrences.
  1003. If you do not want to change a word, just give the same word
  1004. as its \"correct\" spelling; then the query replace is skipped." t)
  1005.  
  1006. (autoload (quote spell-region) "spell" "\
  1007. Like spell-buffer but applies only to region.
  1008. From program, applies from START to END." t)
  1009.  
  1010. (define-key esc-map "$" (quote spell-word))
  1011.  
  1012. (autoload (quote spell-word) "spell" "\
  1013. Check spelling of word at or before point.
  1014. If it is not correct, ask user for the correct spelling
  1015. and query-replace the entire buffer to substitute it." t)
  1016.  
  1017. (autoload (quote spell-string) "spell" "\
  1018. Check spelling of string supplied as argument." t)
  1019.  
  1020. (autoload (quote untabify) "tabify" "\
  1021. Convert all tabs in region to multiple spaces, preserving columns.
  1022. The variable tab-width controls the action." t)
  1023.  
  1024. (autoload (quote tabify) "tabify" "\
  1025. Convert multiple spaces in region to tabs when possible.
  1026. A group of spaces is partially replaced by tabs
  1027. when this can be done without changing the column they end at.
  1028. The variable tab-width controls the action." t)
  1029.  
  1030. (define-key esc-map "." (quote find-tag))
  1031.  
  1032. (autoload (quote find-tag) "tags" "\
  1033. Find tag (in current tag table) whose name contains TAGNAME.
  1034.  Selects the buffer that the tag is contained in
  1035. and puts point at its definition.
  1036.  If TAGNAME is a null string, the expression in the buffer
  1037. around or before point is used as the tag name.
  1038.  If second arg NEXT is non-nil (interactively, with prefix arg),
  1039. searches for the next tag in the tag table
  1040. that matches the tagname used in the previous find-tag.
  1041.  
  1042. See documentation of variable tags-file-name." t)
  1043.  
  1044. (define-key ctl-x-4-map "." (quote find-tag-other-window))
  1045.  
  1046. (autoload (quote find-tag-other-window) "tags" "\
  1047. Find tag (in current tag table) whose name contains TAGNAME.
  1048.  Selects the buffer that the tag is contained in in another window
  1049. and puts point at its definition.
  1050.  If TAGNAME is a null string, the expression in the buffer
  1051. around or before point is used as the tag name.
  1052.  If second arg NEXT is non-nil (interactively, with prefix arg),
  1053. searches for the next tag in the tag table
  1054. that matches the tagname used in the previous find-tag.
  1055.  
  1056. See documentation of variable tags-file-name." t)
  1057.  
  1058. (autoload (quote list-tags) "tags" "\
  1059. Display list of tags in file FILE.
  1060. FILE should not contain a directory spec
  1061. unless it has one in the tag table." t)
  1062.  
  1063. (autoload (quote next-file) "tags" "\
  1064. Select next file among files in current tag table.
  1065. Non-nil argument (prefix arg, if interactive)
  1066. initializes to the beginning of the list of files in the tag table." t)
  1067.  
  1068. (autoload (quote tags-apropos) "tags" "\
  1069. Display list of all tags in tag table REGEXP matches." t)
  1070.  
  1071. (define-key esc-map "," (quote tags-loop-continue))
  1072.  
  1073. (autoload (quote tags-loop-continue) "tags" "\
  1074. Continue last \\[tags-search] or \\[tags-query-replace] command.
  1075. Used noninteractively with non-nil argument
  1076. to begin such a command.  See variable tags-loop-form." t)
  1077.  
  1078. (autoload (quote tag-table-files) "tags" "\
  1079. Return a list of files in the current tag table.
  1080. File names returned are absolute.")
  1081.  
  1082. (autoload (quote tags-query-replace) "tags" "\
  1083. Query-replace-regexp FROM with TO through all files listed in tag table.
  1084. Third arg DELIMITED (prefix arg) means replace only word-delimited matches.
  1085. If you exit (C-G or ESC), you can resume the query-replace
  1086. with the command \\[tags-loop-continue].
  1087.  
  1088. See documentation of variable tags-file-name." t)
  1089.  
  1090. (autoload (quote tags-search) "tags" "\
  1091. Search through all files listed in tag table for match for REGEXP.
  1092. Stops when a match is found.
  1093. To continue searching for next match, use command \\[tags-loop-continue].
  1094.  
  1095. See documentation of variable tags-file-name." t)
  1096.  
  1097. (autoload (quote visit-tags-table) "tags" "\
  1098. Tell tags commands to use tag table file FILE.
  1099. FILE should be the name of a file created with the `etags' program.
  1100. A directory name is ok too; it means file TAGS in that directory." t)
  1101.  
  1102. (autoload (quote telnet) "telnet" "\
  1103. Open a network login connection to host named HOST (a string).
  1104. Communication with HOST is recorded in a buffer *HOST-telnet*.
  1105. Normally input is edited in Emacs and sent a line at a time." t)
  1106.  
  1107. (autoload (quote terminal-emulator) "terminal" "\
  1108. Under a display-terminal emulator in BUFFER, run PROGRAM on arguments ARGS.
  1109. ARGS is a list of argument-strings.  Remaining arguments are WIDTH and HEIGHT.
  1110. BUFFER's contents are made an image of the display generated by that program,
  1111. and any input typed when BUFFER is the current Emacs buffer is sent to that
  1112. program an keyboard input.
  1113.  
  1114. Interactively, BUFFER defaults to \"*terminal*\" and PROGRAM and ARGS
  1115. are parsed from an input-string using your usual shell.
  1116. WIDTH and HEIGHT are determined from the size of the current window
  1117. -- WIDTH will be one less than the window's width, HEIGHT will be its height.
  1118.  
  1119. To switch buffers and leave the emulator, or to give commands
  1120. to the emulator itself (as opposed to the program running under it),
  1121. type Control-^.  The following character is an emulator command.
  1122. Type Control-^ twice to send it to the subprogram.
  1123. This escape character may be changed using the variable `terminal-escape-char'.
  1124.  
  1125. `Meta' characters may not currently be sent through the terminal emulator.
  1126.  
  1127. Here is a list of some of the variables which control the behaviour
  1128. of the emulator -- see their documentation for more information:
  1129. terminal-escape-char, terminal-scrolling, terminal-more-processing,
  1130. terminal-redisplay-interval.
  1131.  
  1132. This function calls the value of terminal-mode-hook if that exists
  1133. and is non-nil after the terminal buffer has been set up and the
  1134. subprocess started.
  1135.  
  1136. Presently with `termcap' only; if somebody sends us code to make this
  1137. work with `terminfo' we will try to use it." t)
  1138.  
  1139. (autoload (quote latex-mode) "tex-mode" "\
  1140. Major mode for editing files of input for LaTeX.
  1141. Makes $ and } display the characters they match.
  1142. Makes \" insert `` when it seems to be the beginning of a quotation,
  1143. and '' when it appears to be the end; it inserts \" only after a \\.
  1144.  
  1145. Use \\[TeX-region] to run LaTeX on the current region, plus the preamble
  1146. copied from the top of the file (containing \\documentstyle, etc.),
  1147. running LaTeX under a special subshell.  \\[TeX-buffer] does the whole buffer.
  1148. \\[TeX-print] prints the .dvi file made by either of these.
  1149.  
  1150. Use \\[validate-TeX-buffer] to check buffer for paragraphs containing
  1151. mismatched $'s or braces.
  1152.  
  1153. Special commands:
  1154. \\{TeX-mode-map}
  1155.  
  1156. Mode variables:
  1157. TeX-directory
  1158.     Directory in which to create temporary files for TeX jobs
  1159.     run by \\[TeX-region] or \\[TeX-buffer].
  1160. TeX-dvi-print-command
  1161.     Command string used by \\[TeX-print] to print a .dvi file.
  1162. TeX-show-queue-command
  1163.     Command string used by \\[TeX-show-print-queue] to show the print
  1164.     queue that \\[TeX-print] put your job on.
  1165.  
  1166. Entering LaTeX mode calls the value of text-mode-hook,
  1167. then the value of TeX-mode-hook, and then the value
  1168. of LaTeX-mode-hook." t)
  1169.  
  1170. (autoload (quote plain-tex-mode) "tex-mode" "\
  1171. Major mode for editing files of input for plain TeX.
  1172. Makes $ and } display the characters they match.
  1173. Makes \" insert `` when it seems to be the beginning of a quotation,
  1174. and '' when it appears to be the end; it inserts \" only after a \\.
  1175.  
  1176. Use \\[TeX-region] to run TeX on the current region, plus a \"header\"
  1177. copied from the top of the file (containing macro definitions, etc.),
  1178. running TeX under a special subshell.  \\[TeX-buffer] does the whole buffer.
  1179. \\[TeX-print] prints the .dvi file made by either of these.
  1180.  
  1181. Use \\[validate-TeX-buffer] to check buffer for paragraphs containing
  1182. mismatched $'s or braces.
  1183.  
  1184. Special commands:
  1185. \\{TeX-mode-map}
  1186.  
  1187. Mode variables:
  1188. TeX-directory
  1189.     Directory in which to create temporary files for TeX jobs
  1190.     run by \\[TeX-region] or \\[TeX-buffer].
  1191. TeX-dvi-print-command
  1192.     Command string used by \\[TeX-print] to print a .dvi file.
  1193. TeX-show-queue-command
  1194.     Command string used by \\[TeX-show-print-queue] to show the print
  1195.     queue that \\[TeX-print] put your job on.
  1196.  
  1197. Entering plain-TeX mode calls the value of text-mode-hook,
  1198. then the value of TeX-mode-hook, and then the value
  1199. of plain-TeX-mode-hook." t)
  1200.  
  1201. (autoload (quote tex-mode) "tex-mode" "\
  1202. Major mode for editing files of input for TeX or LaTeX.
  1203. Trys to intuit whether this file is for plain TeX or LaTeX and
  1204. calls plain-tex-mode or latex-mode.  If it cannot be determined
  1205. (e.g., there are no commands in the file), the value of
  1206. TeX-default-mode is used." t)
  1207.  
  1208. (fset (quote TeX-mode) (quote tex-mode))
  1209.  
  1210. (fset (quote plain-TeX-mode) (quote plain-tex-mode))
  1211.  
  1212. (fset (quote LaTeX-mode) (quote latex-mode))
  1213.  
  1214. (autoload (quote texinfo-mode) "texinfo" "\
  1215. Major mode for editing texinfo files.
  1216. These are files that are input for TEX and also to be turned
  1217. into Info files by \\[texinfo-format-buffer].
  1218. These files must be written in a very restricted and
  1219. modified version of TEX input format.
  1220.  
  1221. As for editing commands, like text-mode except for syntax table,
  1222. which is set up so expression commands skip texinfo bracket groups." t)
  1223.  
  1224. (autoload (quote texinfo-format-buffer) "texinfmt" "\
  1225. Process the current buffer as texinfo code, into an Info file.
  1226. The Info file output is generated in a buffer
  1227. visiting the Info file names specified in the @setfilename command.
  1228.  
  1229. Non-nil argument (prefix, if interactive) means don't make tag table
  1230. and don't split the file if large.  You can use Info-tagify and
  1231. Info-split to do these manually." t)
  1232.  
  1233. (autoload (quote texinfo-format-region) "texinfmt" "\
  1234. Convert the the current region of the Texinfo file to Info format.
  1235. This lets you see what that part of the file will look like in Info.
  1236. The command is bound to \\[texinfo-format-region].  The text that is
  1237. converted to Info is stored in a temporary buffer." t)
  1238.  
  1239. (autoload (quote batch-texinfo-format) "texinfmt" "\
  1240. Runs  texinfo-format-buffer  on the files remaining on the command line.
  1241. Must be used only with -batch, and kills emacs on completion.
  1242. Each file will be processed even if an error occurred previously.
  1243. For example, invoke
  1244.   \"emacs -batch -funcall batch-texinfo-format $docs/ ~/*.texinfo\"." nil)
  1245.  
  1246. (autoload (quote display-time) "time" "\
  1247. Display current time and load level in mode line of each buffer.
  1248. Updates automatically every minute.
  1249. If display-time-day-and-date is non-nil, the current day and date
  1250. are displayed as well." t)
  1251.  
  1252. (autoload (quote underline-region) "underline" "\
  1253. Underline all nonblank characters in the region.
  1254. Works by overstriking underscores.
  1255. Called from program, takes two arguments START and END
  1256. which specify the range to operate on." t)
  1257.  
  1258. (autoload (quote ununderline-region) "underline" "\
  1259. Remove all underlining (overstruck underscores) in the region.
  1260. Called from program, takes two arguments START and END
  1261. which specify the range to operate on." t)
  1262.  
  1263. (autoload (quote ask-user-about-lock) "userlock" "\
  1264. Ask user what to do when he wants to edit FILE but it is locked by USER.
  1265. This function has a choice of three things to do:
  1266.   do (signal 'buffer-file-locked (list FILE USER))
  1267.     to refrain from editing the file
  1268.   return t (grab the lock on the file)
  1269.   return nil (edit the file even though it is locked).
  1270. You can rewrite it to use any criterion you like to choose which one to do." nil)
  1271.  
  1272. (autoload (quote ask-user-about-supersession-threat) "userlock" "\
  1273. Ask a user who is about to modify an obsolete buffer what to do.
  1274. This function has two choices: it can return, in which case the modification
  1275. of the buffer will proceed, or it can (signal 'file-supersession (file)),
  1276. in which case the proposed buffer modification will not be made.
  1277. You can rewrite this to use any criterion you like to choose which one to do." nil)
  1278.  
  1279. (autoload (quote vi-mode) "vi" "\
  1280. Major mode that acts like the `vi' editor.
  1281. The purpose of this mode is to provide you the combined power of vi (namely,
  1282. the \"cross product\" effect of commands and repeat last changes) and Emacs.
  1283.  
  1284. This command redefines nearly all keys to look like vi commands.
  1285. It records the previous major mode, and any vi command for input
  1286. (`i', `a', `s', etc.) switches back to that mode.
  1287. Thus, ordinary Emacs (in whatever major mode you had been using)
  1288. is \"input\" mode as far as vi is concerned.
  1289.  
  1290. To get back into vi from \"input\" mode, you must issue this command again.
  1291. Therefore, it is recommended that you assign it to a key.
  1292.  
  1293. Major differences between this mode and real vi :
  1294.  
  1295. * Limitations and unsupported features
  1296.   - Search patterns with line offset (e.g. /pat/+3 or /pat/z.) are
  1297.     not supported.
  1298.   - Ex commands are not implemented; try ':' to get some hints.
  1299.   - No line undo (i.e. the 'U' command), but multi-undo is a standard feature.
  1300.  
  1301. * Modifications
  1302.   - The stopping positions for some point motion commands (word boundary,
  1303.     pattern search) are slightly different from standard 'vi'.
  1304.     Also, no automatic wrap around at end of buffer for pattern searching.
  1305.   - Since changes are done in two steps (deletion then insertion), you need
  1306.     to undo twice to completely undo a change command.  But this is not needed
  1307.     for undoing a repeated change command.
  1308.   - No need to set/unset 'magic', to search for a string with regular expr
  1309.     in it just put a prefix arg for the search commands.  Replace cmds too.
  1310.   - ^R is bound to incremental backward search, so use ^L to redraw screen.
  1311.  
  1312. * Extensions
  1313.   - Some standard (or modified) Emacs commands were integrated, such as
  1314.     incremental search, query replace, transpose objects, and keyboard macros.
  1315.   - In command state, ^X links to the 'ctl-x-map', and ESC can be linked to
  1316.     esc-map or set undefined.  These can give you the full power of Emacs.
  1317.   - See vi-com-map for those keys that are extensions to standard vi, e.g.
  1318.     `vi-name-last-change-or-macro', `vi-verify-spelling', `vi-locate-def',
  1319.     `vi-mark-region', and 'vi-quote-words'.  Some of them are quite handy.
  1320.   - Use \\[vi-switch-mode] to switch among different modes quickly.
  1321.   
  1322. Syntax table and abbrevs while in vi mode remain as they were in Emacs." t)
  1323.  
  1324. (autoload (quote view-file) "view" "\
  1325. View FILE in View mode, returning to previous buffer when done.
  1326. The usual Emacs commands are not available; instead,
  1327. a special set of commands (mostly letters and punctuation)
  1328. are defined for moving around in the buffer.
  1329. Space scrolls forward, Delete scrolls backward.
  1330. For list of all View commands, type ? or h while viewing.
  1331.  
  1332. Calls the value of  view-hook  if that is non-nil." t)
  1333.  
  1334. (autoload (quote view-buffer) "view" "\
  1335. View BUFFER in View mode, returning to previous buffer when done.
  1336. The usual Emacs commands are not available; instead,
  1337. a special set of commands (mostly letters and punctuation)
  1338. are defined for moving around in the buffer.
  1339. Space scrolls forward, Delete scrolls backward.
  1340. For list of all View commands, type ? or h while viewing.
  1341.  
  1342. Calls the value of  view-hook  if that is non-nil." t)
  1343.  
  1344. (autoload (quote view-mode) "view" "\
  1345. Major mode for viewing text but not editing it.
  1346. Letters do not insert themselves.  Instead these commands are provided.
  1347. Most commands take prefix arguments.  Commands dealing with lines
  1348. default to \"scroll size\" lines (initially size of window).
  1349. Search commands default to a repeat count of one.
  1350. M-< or <    move to beginning of buffer.
  1351. M-> or >    move to end of buffer.
  1352. C-v or Space    scroll forward lines.
  1353. M-v or DEL    scroll backward lines.
  1354. CR or LF    scroll forward one line (backward with prefix argument).
  1355. z        like Space except set number of lines for further
  1356.            scrolling commands to scroll by.
  1357. C-u and Digits    provide prefix arguments.  `-' denotes negative argument.
  1358. =        prints the current line number.
  1359. g        goes to line given by prefix argument.
  1360. / or M-C-s    searches forward for regular expression
  1361. \\ or M-C-r    searches backward for regular expression.
  1362. n        searches forward for last regular expression.
  1363. p        searches backward for last regular expression.
  1364. C-@ or .    set the mark.
  1365. x        exchanges point and mark.
  1366. C-s or s    do forward incremental search.
  1367. C-r or r    do reverse incremental search.
  1368. @ or '        return to mark and pops mark ring.
  1369.           Mark ring is pushed at start of every
  1370.           successful search and when jump to line to occurs.
  1371.           The mark is set on jump to buffer start or end.
  1372. ? or h        provide help message (list of commands).
  1373. C-h        provides help (list of commands or description of a command).
  1374. C-n        moves down lines vertically.
  1375. C-p        moves upward lines vertically.
  1376. C-l        recenters the screen.
  1377. q or C-c    exit view-mode and return to previous buffer.
  1378.  
  1379. Entry to this mode calls the value of  view-hook  if non-nil.
  1380. \\{view-mode-map}")
  1381.  
  1382. (autoload (quote vip-mode) "vip" "\
  1383. Begin emulating the vi editor.  This is distinct from `vi-mode'.
  1384. This emulator has different capabilities from the `vi-mode' emulator.
  1385. See the text at the beginning of the source file .../lisp/vip.el
  1386. in the Emacs distribution." t)
  1387.  
  1388. (autoload (quote yow) "yow" "\
  1389. Return or display a Zippy quotation" t)
  1390.  
  1391. (autoload (quote psychoanalyze-pinhead) "yow" "\
  1392. Zippy goes to the analyst." t)
  1393.  
  1394. (define-key esc-map "╱" (quote forward-sexp))
  1395.  
  1396. (define-key esc-map "⇩" (quote backward-sexp))
  1397.  
  1398. (define-key esc-map "⑤" (quote backward-up-list))
  1399.  
  1400. (define-key esc-map "" (quote mark-sexp))
  1401.  
  1402. (define-key esc-map "⇦" (quote down-list))
  1403.  
  1404. (define-key esc-map "♪" (quote kill-sexp))
  1405.  
  1406. (define-key esc-map "" (quote forward-list))
  1407.  
  1408. (define-key esc-map "⓪" (quote backward-list))
  1409.  
  1410. (define-key esc-map "⇧" (quote beginning-of-defun))
  1411.  
  1412. (define-key esc-map "❎" (quote end-of-defun))
  1413.  
  1414. (define-key esc-map "✓" (quote mark-defun))
  1415.  
  1416. (define-key esc-map "(" (quote insert-parentheses))
  1417.  
  1418. (define-key esc-map ")" (quote move-past-close-and-reindent))
  1419.  
  1420. (define-key esc-map "    " (quote lisp-complete-symbol))
  1421.  
  1422. (define-key ctl-x-map "❎" (quote eval-last-sexp))
  1423.  
  1424. (define-key ctl-x-map "/" (quote point-to-register))
  1425.  
  1426. (define-key ctl-x-map "j" (quote register-to-point))
  1427.  
  1428. (define-key ctl-x-map "x" (quote copy-to-register))
  1429.  
  1430. (define-key ctl-x-map "g" (quote insert-register))
  1431.  
  1432. (define-key ctl-x-map "r" (quote copy-rectangle-to-register))
  1433.  
  1434. (define-key esc-map "q" (quote fill-paragraph))
  1435.  
  1436. (define-key esc-map "g" (quote fill-region))
  1437.  
  1438. (define-key ctl-x-map "." (quote set-fill-prefix))
  1439.  
  1440. (define-key esc-map "[" (quote backward-paragraph))
  1441.  
  1442. (define-key esc-map "]" (quote forward-paragraph))
  1443.  
  1444. (define-key esc-map "h" (quote mark-paragraph))
  1445.  
  1446. (define-key esc-map "a" (quote backward-sentence))
  1447.  
  1448. (define-key esc-map "e" (quote forward-sentence))
  1449.  
  1450. (define-key esc-map "k" (quote kill-sentence))
  1451.  
  1452. (define-key ctl-x-map "" (quote backward-kill-sentence))
  1453.  
  1454. (define-key ctl-x-map "[" (quote backward-page))
  1455.  
  1456. (define-key ctl-x-map "]" (quote forward-page))
  1457.  
  1458. (define-key ctl-x-map "⓪" (quote mark-page))
  1459.  
  1460. (put (quote narrow-to-region) (quote disabled) t)
  1461.  
  1462. (define-key ctl-x-map "p" (quote narrow-to-page))
  1463.  
  1464. (put (quote narrow-to-page) (quote disabled) t)
  1465.  
  1466. (define-key ctl-x-map "l" (quote count-lines-page))
  1467.  
  1468. (defun isearch-forward nil "\
  1469. Do incremental search forward.
  1470. As you type characters, they add to the search string and are found.
  1471. Type Delete to cancel characters from end of search string.
  1472. Type ESC to exit, leaving point at location found.
  1473. Type C-s to search again forward, C-r to search again backward.
  1474. Type C-w to yank word from buffer onto end of search string and search for it.
  1475. Type C-y to yank rest of line onto end of search string, etc.
  1476. Type C-q to quote control character to search for it.
  1477. Other control and meta characters terminate the search
  1478.  and are then executed normally.
  1479. The above special characters are mostly controlled by parameters;
  1480.  do M-x apropos on search-.*-char to find them.
  1481. C-g while searching or when search has failed
  1482.  cancels input back to what has been found successfully.
  1483. C-g when search is successful aborts and moves point to starting point." (interactive) (byte-code "IJêאij!ç" [t nil isearch] 2))
  1484.  
  1485. (defun isearch-forward-regexp nil "\
  1486. Do incremental search forward for regular expression.
  1487. Like ordinary incremental search except that your input
  1488. is treated as a regexp.  See \\[isearch-forward] for more info." (interactive) (byte-code "IJêאijij\"ç" [t nil isearch] 3))
  1489.  
  1490. (defun isearch-backward nil "\
  1491. Do incremental search backward.
  1492. See \\[isearch-forward] for more information." (interactive) (byte-code "ijêIJij!ç" [nil isearch] 2))
  1493.  
  1494. (defun isearch-backward-regexp nil "\
  1495. Do incremental search backward for regular expression.
  1496. Like ordinary incremental search except that your input
  1497. is treated as a regexp.  See \\[isearch-forward] for more info." (interactive) (byte-code "ijêאijIJ\"ç" [nil t isearch] 3))
  1498.  
  1499. (defvar search-last-string "" "\
  1500. Last string search for by a non-regexp search command.
  1501. This does not include direct calls to the primitive search functions,
  1502. and does not include searches that are aborted.")
  1503.  
  1504. (defvar search-last-regexp "" "\
  1505. Last string searched for by a regexp search command.
  1506. This does not include direct calls to the primitive search functions,
  1507. and does not include searches that are aborted.")
  1508.  
  1509. (defconst search-repeat-char 19 "\
  1510. *Character to repeat incremental search forwards.")
  1511.  
  1512. (defconst search-reverse-char 18 "\
  1513. *Character to repeat incremental search backwards.")
  1514.  
  1515. (defconst search-exit-char 27 "\
  1516. *Character to exit incremental search.")
  1517.  
  1518. (defconst search-delete-char 127 "\
  1519. *Character to delete from incremental search string.")
  1520.  
  1521. (defconst search-quote-char 17 "\
  1522. *Character to quote special characters for incremental search.")
  1523.  
  1524. (defconst search-yank-word-char 23 "\
  1525. *Character to pull next word from buffer into search string.")
  1526.  
  1527. (defconst search-yank-line-char 25 "\
  1528. *Character to pull rest of line from buffer into search string.")
  1529.  
  1530. (defconst search-exit-option t "\
  1531. *Non-nil means random control characters terminate incremental search.")
  1532.  
  1533. (defvar search-slow-window-lines 1 "\
  1534. *Number of lines in slow search display windows.
  1535. These are the short windows used during incremental search on slow terminals.
  1536. Negative means put the slow search window at the top (normally it's at bottom)
  1537. and the value is minus the number of lines.")
  1538.  
  1539. (defvar search-slow-speed 1200 "\
  1540. *Highest terminal speed at which to use \"slow\" style incremental search.
  1541. This is the style where a one-line window is created to show the line
  1542. that the search has reached.")
  1543.  
  1544. (autoload (quote isearch) "isearch")
  1545.  
  1546. (define-key global-map "③" (quote isearch-forward))
  1547.  
  1548. (define-key global-map "②" (quote isearch-backward))
  1549.  
  1550. (define-key esc-map "③" (quote isearch-forward-regexp))
  1551.  
  1552. (defun query-replace (from-string to-string &optional arg) "\
  1553. Replace some occurrences of FROM-STRING with TO-STRING.
  1554. As each match is found, the user must type a character saying
  1555. what to do with it.  For directions, type \\[help-command] at that time.
  1556.  
  1557. Preserves case in each replacement if  case-replace  and  case-fold-search
  1558. are non-nil and FROM-STRING has no uppercase letters.
  1559. Third arg DELIMITED (prefix arg if interactive) non-nil means replace
  1560. only matches surrounded by word boundaries." (interactive "sQuery replace: 
  1561. sQuery replace %s with: 
  1562. P") (byte-code "בêד✓    אב %êהו!ç" [from-string to-string t nil arg perform-replace message "Done"] 6))
  1563.  
  1564. (defun query-replace-regexp (regexp to-string &optional arg) "\
  1565. Replace some things after point matching REGEXP with TO-STRING.
  1566. As each match is found, the user must type a character saying
  1567. what to do with it.  For directions, type \\[help-command] at that time.
  1568.  
  1569. Preserves case in each replacement if  case-replace  and  case-fold-search
  1570. are non-nil and REGEXP has no uppercase letters.
  1571. Third arg DELIMITED (prefix arg if interactive) non-nil means replace
  1572. only matches surrounded by word boundaries.
  1573. In TO-STRING, \\& means insert what matched REGEXP,
  1574. and \\=\\<n> means insert what matched <n>th \\(...\\) in REGEXP." (interactive "sQuery replace regexp: 
  1575. sQuery replace regexp %s with: 
  1576. P") (byte-code "גêד✓    אא♪%êהו!ç" [regexp to-string t arg nil perform-replace message "Done"] 6))
  1577.  
  1578. (defun replace-string (from-string to-string &optional delimited) "\
  1579. Replace occurrences of FROM-STRING with TO-STRING.
  1580. Preserve case in each match if  case-replace  and  case-fold-search
  1581. are non-nil and FROM-STRING has no uppercase letters.
  1582. Third arg DELIMITED (prefix arg if interactive) non-nil means replace
  1583. only matches surrounded by word boundaries." (interactive "sReplace string: 
  1584. sReplace string %s with: 
  1585. P") (byte-code "אêג✓    אא♪%êדה!ç" [from-string to-string nil delimited perform-replace message "Done"] 6))
  1586.  
  1587. (defun replace-regexp (regexp to-string &optional delimited) "\
  1588. Replace things after point matching REGEXP with TO-STRING.
  1589. Preserve case in each match if case-replace and case-fold-search
  1590. are non-nil and REGEXP has no uppercase letters.
  1591. Third arg DELIMITED (prefix arg if interactive) non-nil means replace
  1592. only matches surrounded by word boundaries.
  1593. In TO-STRING, \\& means insert what matched REGEXP,
  1594. and \\=\\<n> means insert what matched <n>th \\(...\\) in REGEXP." (interactive "sReplace regexp: 
  1595. sReplace regexp %s with: 
  1596. P") (byte-code "אêד✓    אב %êהו!ç" [regexp to-string nil t delimited perform-replace message "Done"] 6))
  1597.  
  1598. (define-key esc-map "%" (quote query-replace))
  1599.  
  1600. (autoload (quote perform-replace) "replace")
  1601.  
  1602. (define-key ctl-x-map "⇧" (quote add-mode-abbrev))
  1603.  
  1604. (define-key ctl-x-map "+" (quote add-global-abbrev))
  1605.  
  1606. (define-key ctl-x-map "✓" (quote inverse-add-mode-abbrev))
  1607.  
  1608. (define-key ctl-x-map "-" (quote inverse-add-global-abbrev))
  1609.  
  1610. (define-key esc-map "'" (quote abbrev-prefix-mark))
  1611.  
  1612. (define-key ctl-x-map "'" (quote expand-abbrev))
  1613.